import Vue from "vue";
import App from "./App.vue";


import ElementUI from 'element-ui'
import router from './route/index'

// elementUI的css
import 'element-ui/lib/theme-chalk/index.css';

import './assets/iconfont/iconfont.css'

import 'default-passive-events'//解决chrome新的事件捕获机制，导致elementUI无法使用

import * as moment from 'moment'//时间处理函数
Vue.prototype.$moment = moment

Vue.use(ElementUI);

Vue.config.productionTip = false
Vue.use(ElementUI)

Vue.use(ElementUI) //使用elementUI

new Vue({
    render: h => h(App),
    router
}).$mount('#app')
